From 3ff5a82e4614b85eff0b211c9566bd03caea029e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 30 Aug 2011 10:48:04 -0400 Subject: [PATCH] Clean up stock-icons We copy them all in srcdir != builddir builds, so just nuke the entire directory in that case. --- gtk/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gtk/Makefile.am b/gtk/Makefile.am index f6d6ee1fa4..b96e3033cb 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -852,7 +852,12 @@ gtk_extra_sources = \ # # setup GTK+ sources and their dependencies # -MAINTAINERCLEANFILES = $(gtk_built_sources) $(stamp_files) $(GENERATED_ICONS) stock-icons/icon-theme.cache +MAINTAINERCLEANFILES = \ + $(gtk_built_sources) \ + $(stamp_files) \ + $(GENERATED_ICONS) \ + stock-icons/icon-theme.cache + EXTRA_HEADERS = EXTRA_DIST += $(gtk_private_h_sources) $(gtk_extra_sources) EXTRA_DIST += $(gtk_built_sources) @@ -996,6 +1001,7 @@ uninstall-local: uninstall-ms-lib uninstall-def-file uninstall-mac-key-theme distclean-local: if test $(srcdir) != .; then \ rm -f $(MAINTAINERCLEANFILES); \ + rm -rf stock-icons; \ fi DEPS = libgtk-3.la $(top_builddir)/gdk/libgdk-3.la -- 2.30.2